<div class="container-fluid">
    <div class="container">
        主路由内容
        home
    </div>
    <br>
    <div class="container">
        <div>
            子路由切换内容:
        </div>
        <br>
        <a class="btn btn-default" href="javascript" [routerLink]="['/']">
            ChildrenRouteComponent
        </a>

        <!--<a class="btn btn-default" href="javascript" [routerLink]="['/home/c2']">-->
        <a class="btn btn-default" href="javascript" [routerLink]="['./c2']">
            ChildrenRoute2Component
        </a>
    </div>
    <br>
    <div class="container">
        <router-outlet></router-outlet>
    </div>
</div>


